package start;

import org.springframework.core.convert.converter.Converter;

public class StringToInt implements Converter<String,Integer> {
    public StringToInt() {
        super();
        System.out.println("StringToInt create..");
    }

    @Override
    public Integer convert(String source) {
        return Integer.valueOf(source);
    }
}
